package com.music.urlValidator.beans;

import org.springframework.jmx.export.annotation.ManagedAttribute;
import org.springframework.jmx.export.annotation.ManagedResource;

@ManagedResource
public class ProxySettings {

	private   String mHostName;
	private   int mPortNo;
	
	/** Proxy is disabled by default **/
	private  boolean mProxyEnabled = false;
	
	/**
	 * @return the portNo
	 */
	@ManagedAttribute
	public  int getPortNo() {
		return mPortNo;
	}
	/**
	 * @param pPortNo the portNo to set
	 */
	@ManagedAttribute
	public  void setPortNo(int pPortNo) {
		mPortNo = pPortNo;
	}
	/**
	 * @return the hostName
	 */
	@ManagedAttribute
	public  String getHostName() {
		return mHostName;
	}
	/**
	 * @param pHostName the hostName to set
	 */
	@ManagedAttribute
	public  void setHostName(String pHostName) {
		mHostName = pHostName;
	}
	/**
	 * @return the proxyEnabled
	 */
	@ManagedAttribute
	public  boolean isProxyEnabled() {
		return mProxyEnabled;
	}
	/**
	 * @param pProxyEnabled the proxyEnabled to set
	 */
	@ManagedAttribute
	public  void setProxyEnabled(boolean pProxyEnabled) {
		mProxyEnabled = pProxyEnabled;
	}
	
	
	
	
}
